{{ header }}
<div id="account-return" class="container">
	{#{{ include(helper.template('_partial/breadcrumb')) }}#}
	<div class="row">{{ column_left }}
		{% if column_left and column_right %}
			{% set class = 'col-sm-6' %}
		{% elseif column_left or column_right %}
			{% set class = 'col-sm-9' %}
		{% else %}
			{% set class = 'col-sm-12' %}
		{% endif %}
		<div id="content" class="{{ class }} account-return-list">{{ content_top }}
			{#<h1>{{ heading_title }}</h1>#}
			{% if returns %}
				<div class="table-responsive return-list-container">
					<table class="table table-bordered table-hover return-list">
						<thead>
						<tr>
							<td class="text-center">{{ column_product }}</td>
							<td class="text-center">{{ column_return_id }}</td>
							<td class="text-center">{{ column_order_id }}</td>
							<td class="text-center">{{ column_date_added }}</td>
							<td class="text-center">{{ column_status }}</td>
							<td class="text-center">{{ column_action }}</td>
						</tr>
						</thead>
						<tbody>
						{% for return in returns %}
							<tr class="blank-tr"></tr>
							<tr>
								<td class="text-left">
									<div class="product-container">
										<div class="product-image">
											<a href="{{ return.product_href }}" target="_blank">
												<img src="{{ return.product_image }}" alt="">
											</a>
										</div>
										<div class="product-attr">
											<a href="{{ return.product_href }}">
												<p>{{ return.product_name }}</p>
											</a>
										</div>
									</div>
								</td>
								<td class="text-center">#{{ return.return_id }}</td>
								<td class="text-center">#{{ return.order_id }}</td>
								<td class="text-center">{{ return.date_added }}</td>
								<td class="text-center">{{ return.status }}</td>
								<td class="text-center">
									<a href="{{ return.href }}" class="btn btn-primary return-btn">
										{{ button_return }}
									</a>
								</td>
							</tr>
						{% endfor %}
						</tbody>
					</table>
				</div>
				{#<div class="row">#}
					{#<div class="col-sm-6 text-left">{{ pagination }}</div>#}
					{#<div class="col-sm-6 text-right">{{ results }}</div>#}
				{#</div>#}
			{% else %}
				<div class="no-items">
					<img src="catalog/view/theme/{{ helper.config('theme_default_directory') }}/image/icon/icon_no_return.svg" class="img-responsive">
					<span>{{ text_no_results }}</span>
				</div>
			{% endif %}
			{{ content_bottom }}</div>
		{{ column_right }}</div>
</div>
{{ footer }}
